package study.designpattern.state;

public class StateA implements Statelike{

    @Override
    public void writeName(StateContext STATE_CONTEXT, String NAME) {
        System.out.println(NAME.toLowerCase());
        STATE_CONTEXT.setState(new StateB());
    }

}
